package com.swust.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private  Integer id;//订单编号
    private  Integer userId;//下单用户编号
    private LocalDateTime createTime;//创建时间
    private  String note;//备注
    private   String number;
    private User user;//一个订单属于一个用户
//    private List<OrderDetail> list;
}
